<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>CSS3盒子模型</title>
    <style>
        /* div {
            height: 100px;
            width: 100px;
            background-color: rosybrown;
            padding: 10px;
            border: 5px solid yellow;
            box-sizing: content-box;
            
        } */
        p {
            height: 100px;
            width: 100px;
            background-color: rosybrown;
            padding: 10px;
            border: 5px solid yellow;
            box-sizing: border-box;
        }
        img {
            filter: blur(2px);
        }
        .father {
            height: 150px;
            width: 150px;
            background-color: teal;
        }
        .son {
            height: calc(100% - 30px);
            width: 100px;
            background-color: thistle;
        }
    </style>
</head>
<body>
    <div></div>
    <p></p>
    <img src="images/jpg/小熊.jpg" alt="">
    <div class="father">
        <div class="son">

        </div>
    </div>
</body>
</html>